#!/usr/bin/env bash

echo 'start harmonious running...'

# 阿拉伯数字18作为异常退出码
check='[ $? -eq 0 ] || exit 18'

eval "$check" && echo '安装工具并进行初始配置'
eval "$check" && bash install.sh

eval "$check" && echo 'build'
eval "$check" && bash build.sh

eval "$check" && echo "finish harmonious running！！！"

